﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NHibData.Service
{
    public interface IBaseService<T> where T:BaseEntity
    {
        T FindById(int id);
        void Save(T t);
        void Update(T t);
        void Delete(T t);
        IQueryable<T> AllItems();
    }
}
